.TH "LIBKYCONF" 3 "Fri Sep 22 2023" "My Project" \" -*- nroff -*-
.ad l
.nh
.SH NAME
libkyconf \- KYSDK配置文件处理库，支持标准格式、XML(未实现)、JSON(未实现)的配置文件处理，包括配置文件的读与写操作  

.SH SYNOPSIS
.br
.PP
\fC#include <libkyconf\&.h>\fP
.br

.SS "Functions"

.in +1c
.ti -1c
.RI "int \fBkdk_conf_init\fP (const char *confpath)"
.br
.RI "初始化配置文件 "
.ti -1c
.RI "void \fBkdk_conf_destroy\fP (int id)"
.br
.RI "销毁指定的配置文件句柄 "
.ti -1c
.RI "int \fBkdk_conf_reload\fP (int id)"
.br
.RI "重新载入配置文件 "
.ti -1c
.RI "const char * \fBkdk_conf_get_value\fP (int id, const char *group, const char *key)"
.br
.RI "获取指定配置项的值 "
.ti -1c
.RI "char **const \fBkdk_conf_list_key\fP (int id, const char *group)"
.br
.RI "列举id对应配置文件的指定Group下的key值，结尾以NULL指针表示 "
.ti -1c
.RI "char **const \fBkdk_conf_list_group\fP (int id)"
.br
.RI "列举id对应配置文件的所有Group，结尾以NULL指针表示 "
.ti -1c
.RI "void \fBkdk_config_freeall\fP (char **ptr)"
.br
.RI "用于回收字符串列表 "
.in -1c
.SH "Detailed Description"
.PP 
KYSDK配置文件处理库，支持标准格式、XML(未实现)、JSON(未实现)的配置文件处理，包括配置文件的读与写操作 

.SH "CONFORMING TO"
These functions are as per the withdrawn POSIX.1e draft specification.
The following functions are Linux extensions:
.BR kdk_conf_init (),
.BR kdk_conf_destroy (),
.BR kdk_conf_reload (),
.BR kdk_conf_get_value (),
.BR kdk_conf_list_key (),
.BR kdk_conf_list_group ()
and
.BR kdk_config_freeall ().
.SH "SEE ALSO"
.BR kdk_conf_init (3),
.BR kdk_conf_destroy (3),
.BR kdk_conf_reload (3),
.BR kdk_conf_get_value (3),
.BR kdk_conf_list_key (3),
.BR kdk_conf_list_group (3)
and
.BR kdk_config_freeall (3).

.SH "Author"
.PP 
Generated automatically by Doxygen for libkyconf.h from the source code\&.
